<?php
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of EditUser
 *
 * @author ghazy
 */

class Application_Form_EditPermission extends Zend_Form {

    public function init()
    {

        $name = new Zend_Form_Element_Text('name');
        $name->setLabel('Permission_Name')
             ->setRequired(true)
             ->addFilter(new Zend_Filter_HtmlEntities())
             ->addFilter(new Zend_Filter_StringTrim())
             ->addValidator('NotEmpty',true);


        $submit = new Zend_Form_Element_Submit('submit');
        $submit->setLabel('Update Permission');

        $this->addElement($name)
             ->addElement($submit);
    }
}
?>
